package id.net.iconpln.bb.client.tools;

import id.net.iconpln.bb.client.data.TestData;
import id.net.iconpln.bb.client.model.Waktu;

import com.extjs.gxt.ui.client.store.ListStore;
import com.extjs.gxt.ui.client.widget.form.ComboBox;

public class BulanSelector extends ComboBox<Waktu>{
	public BulanSelector(){
		
		ListStore<Waktu> store = new ListStore<Waktu>();
		store.add(TestData.getBulans());     
		setEmptyText("Bulan....");  
		setDisplayField("bulan");  
		setStore(store);
		setWidth(80);       
		setTypeAhead(true);  
		setTriggerAction(TriggerAction.ALL);
		
	}
}

